import { Connection } from "mongoose";
import { UserModel } from "./user.schema";

/**用户模块相关表 */
export const UserModels = [
	//客户端用户表
	{
		provide: 'USER_MODEL',
		useFactory: (connection: Connection) => connection.model('User',UserModel),
		inject: ['DATABASE_CONNECTION'],
	},
];
